﻿<div class="ui container">
    <div class="ui large secondary inverted pointing menu" id="Menu">
        <a class="toc item">
            <i class="sidebar icon"></i>
        </a>
        <a class="item" href="index.html" data-name="index">首页</a>
        <a class="item" href="order.html" data-name="order">在线下单</a>
        <a class="item" href="Charges.html" data-name="charges">整理收费标准</a>
        <a class="item" href="services.html" data-name="services">服务项目</a>
        <a class="item" href="Storage.html" data-name="storage">收纳整理介绍</a>
        <a class="item" href="Test918TuiGuang/sj.html">开锁疏管</a>
        <div class="right item">
            <a class="ui inverted button" href="javascript:void(0);" onclick="window.alert('电话联系：18380201851(微信同号)');">成为会员</a>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(function () {
        //active
        var temp_name = "";
        if (window.location.href.toLowerCase().indexOf('index') >= 0) {
            temp_name = "index";
        }
        if (window.location.href.toLowerCase().indexOf('order') >= 0) {
            temp_name = "order";
        }
        if (window.location.href.toLowerCase().indexOf('charges') >= 0) {
            temp_name = "charges";
        }
        if (window.location.href.toLowerCase().indexOf('services') >= 0) {
            temp_name = "services";
        }
        if (window.location.href.toLowerCase().indexOf('storage') >= 0) {
            temp_name = "storage";
        }
        $("#Menu a").each(function (index) {
            var tempName = $(this).attr("data-name");
            if (tempName == temp_name) {
                $(this).addClass("active");
            } else {
                $(this).removeClass("active");
            }
        });
    });
</script>



